package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipPatrolCheckWorkOrderItem;
import cc.comac.mom.bean.EquipPatrolCheckWorkOrderItemBean;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipPatrolCheckWorkOrderItemService {
	
	@RequestMapping(value = "/p/cs/EquipPatrolCheckWorkOrderItemService/deleteBatch",method = RequestMethod.POST)
	public ResultBean deleteBatch(@RequestBody List<Long> ids);
	
	@RequestMapping(value = "/p/cs/EquipPatrolCheckWorkOrderItemService/planExecute",method = RequestMethod.POST)
	public ResultBean planExecute(@RequestBody EquipPatrolCheckWorkOrderItem obj);

	//确认
	@RequestMapping(value = "/p/cs/EquipPatrolCheckWorkOrderItemService/confirm",method = RequestMethod.POST)
	public ResultBean confirm(@RequestBody List<EquipPatrolCheckWorkOrderItem> obj);

	//查询
	@RequestMapping(value = "/p/cs/EquipPatrolCheckWorkOrderItemService/selectByFields",method = RequestMethod.POST)
	public ResultBean selectByFields(@RequestBody EquipPatrolCheckWorkOrderItemBean obj);
	
}
